Optimal. Leaf size=30 \[ b c \sqrt{\frac{1}{c^2 x^2}+1}-\frac{a+b \text{csch}^{-1}(c x)}{x} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0238494, antiderivative size = 30, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 12, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.167, Rules used = {6284, 261} \[ b c \sqrt{\frac{1}{c^2 x^2}+1}-\frac{a+b \text{csch}^{-1}(c x)}{x} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 6284
Rule 261
Rubi steps
\begin{align*} \int \frac{a+b \text{csch}^{-1}(c x)}{x^2} \, dx &=-\frac{a+b \text{csch}^{-1}(c x)}{x}-\frac{b \int \frac{1}{\sqrt{1+\frac{1}{c^2 x^2}} x^3} \, dx}{c}\\ &=b c \sqrt{1+\frac{1}{c^2 x^2}}-\frac{a+b \text{csch}^{-1}(c x)}{x}\\ \end{align*}
Mathematica [A] time = 0.0297578, size = 40, normalized size = 1.33 \[ -\frac{a}{x}+b c \sqrt{\frac{c^2 x^2+1}{c^2 x^2}}-\frac{b \text{csch}^{-1}(c x)}{x} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.174, size = 62, normalized size = 2.1 \begin{align*} c \left ( -{\frac{a}{cx}}+b \left ( -{\frac{{\rm arccsch} \left (cx\right )}{cx}}+{\frac{{c}^{2}{x}^{2}+1}{{c}^{2}{x}^{2}}{\frac{1}{\sqrt{{\frac{{c}^{2}{x}^{2}+1}{{c}^{2}{x}^{2}}}}}}} \right ) \right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.995552, size = 43, normalized size = 1.43 \begin{align*}{\left (c \sqrt{\frac{1}{c^{2} x^{2}} + 1} - \frac{\operatorname{arcsch}\left (c x\right )}{x}\right )} b - \frac{a}{x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.14161, size = 135, normalized size = 4.5 \begin{align*} \frac{b c x \sqrt{\frac{c^{2} x^{2} + 1}{c^{2} x^{2}}} - b \log \left (\frac{c x \sqrt{\frac{c^{2} x^{2} + 1}{c^{2} x^{2}}} + 1}{c x}\right ) - a}{x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 2.73184, size = 36, normalized size = 1.2 \begin{align*} \begin{cases} - \frac{a}{x} + b c \sqrt{1 + \frac{1}{c^{2} x^{2}}} - \frac{b \operatorname{acsch}{\left (c x \right )}}{x} & \text{for}\: c \neq 0 \\- \frac{a + \tilde{\infty } b}{x} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{b \operatorname{arcsch}\left (c x\right ) + a}{x^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]